let vm = new Vue({
    el:"#login",
    data:{
        username:"",
        password:""
    },
    methods:{
        login:function (){
            console.log("正在处理登录！")
            let form = new FormData()
            form.append("username",this.username)
            form.append("password",this.password)
            console.log(form)
            axios({
                method:"post",
                url:"/login",
                data:form
            }).then(function (r){

            })
        }
    }
})
